﻿#include "acis/ptlist.hxx"
#include <unordered_map>
#include <iostream>

void AF_POINT::set_next(AF_POINT* nxt) {
	this->next_point = nxt;
}

void AF_POINT::set_prev(AF_POINT* pre) {
	this->prev_point = pre;
}

void AF_POINT::insert(AF_POINT* prev, int sense) {
	AF_POINT* next = prev->next(0);
	prev->set_next(this);
	next->set_prev(this);
	this->set_prev(prev);
	this->set_next(next);
}
